import Mock from "mockjs"

Mock.mock("/list",{
    "data|5":[{
        name:"@cword(4)",
        "children|8":[{
            img:"@image(30x30,@color)",
            name:"@cword(4)",
            id:"@id",
            title:"@cword(120)",
            "price|10-1000":100,
            num:1,
        }]
    }]
})